﻿using NFine.Code;
using NFine.Data;
using NFine.Domain.Entity.BusinessManage;
using NFine.Domain.Entity.SystemManage;
using NFine.Domain.IRepository.BusinessManage;
using NFine.Domain.ViewModel.QueryDto;
using NFine.Domain.ViewModel.VDto;
using NFine.Repository.BusinessManage;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;

namespace NFine.Application.BusinessManage
{
    public class D_SalaryHistoryApp
    {

        private readonly ID_SalaryHistoryRepository repository = new D_SalaryHistoryRepository();

        public List<D_SalaryHistoryDto> GetSalaryHistoryList(Pagination pagination, SearchInputDto searchInput)
        {
            try
            {
                return repository.GetSalaryHistoryList(pagination, searchInput);
            }
            catch (System.Exception ex)
            {
                throw ex;
            }

        }
    }
}